package com.heima.admin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.sensitive.dtos.SensitiveDTO;
import com.heima.model.sensitive.pojos.AdSensitive;

import java.util.List;

public interface SensitiveService extends IService<AdSensitive> {
    ResponseResult queryDataByName(SensitiveDTO dto);

    public ResponseResult insert(AdSensitive adSensitive);

    /**
     * 修改
     * @param adSensitive
     * @return
     */
    public ResponseResult update(AdSensitive adSensitive);

    /**
     * 删除
     * @param id
     * @return
     */
    public ResponseResult delete(Integer id);


    public ResponseResult<List<String>> selectAllSensitives();
}
